package com.anhry.app.safety.manage.enterprise.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * TbCorpType entity.
 * 企业类型（系统实际使用）
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "TB_CORP_TYPE")
@SequenceGenerator(name = "TB_CORP_TYPE_SEQ", sequenceName = "TB_CORP_TYPE_SEQ", allocationSize = 1)
public class TbCorpType implements java.io.Serializable {

	// Fields

	private Long id;
	private String typeName;//类型名称
	private Long typeParentId;//父id
	private String typeParentName;//父类型名称
	private String typeCode;//编码
	private Long economyParentId;//对应国民经济类型大类id
	private Long economyId;//对应国民经济类型id
	private Long unitId;//主管部门（行业部门）
	private String unitName;//行业部门名称
	private Long hiddenTabId;//自查自报隐患表id
	private String hiddenTabName;//自查自报隐患表名称
	private String typeRemrk;//企业类型说明
	private String typeQudeptIds;//县区安监局科室部门id
	private String typeQudeptNames;//县区安监局科室部门名称
	private Long djpdTabId;//自查自报隐患表id
	private String djpdTabName;//自查自报隐患表名称
	private String isDele;

	// Constructors

	/** default constructor */
	public TbCorpType() {
	}

	/** minimal constructor */
	public TbCorpType(Long id) {
		this.id = id;
	}

	/** full constructor */
	public TbCorpType(Long id, String typeName, Long typeParentId,
			String typeParentName, String typeCode, Long economyId,
			Long unitId, String unitName, Long hiddenTabId,
			String hiddenTabName, String isDele) {
		this.id = id;
		this.typeName = typeName;
		this.typeParentId = typeParentId;
		this.typeParentName = typeParentName;
		this.typeCode = typeCode;
		this.economyId = economyId;
		this.unitId = unitId;
		this.unitName = unitName;
		this.hiddenTabId = hiddenTabId;
		this.hiddenTabName = hiddenTabName;
		this.isDele = isDele;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "TB_CORP_TYPE_SEQ")
	@Column(name = "ID", unique = true, nullable = false, precision = 11, scale = 0)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "TYPE_NAME", length = 225)
	public String getTypeName() {
		return this.typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	@Column(name = "TYPE_PARENT_ID", precision = 11, scale = 0)
	public Long getTypeParentId() {
		return this.typeParentId;
	}

	public void setTypeParentId(Long typeParentId) {
		this.typeParentId = typeParentId;
	}

	@Column(name = "TYPE_PARENT_NAME", length = 225)
	public String getTypeParentName() {
		return this.typeParentName;
	}

	public void setTypeParentName(String typeParentName) {
		this.typeParentName = typeParentName;
	}

	@Column(name = "TYPE_CODE", length = 50)
	public String getTypeCode() {
		return this.typeCode;
	}

	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}

	@Column(name = "ECONOMY_ID", precision = 11, scale = 0)
	public Long getEconomyId() {
		return this.economyId;
	}

	public void setEconomyId(Long economyId) {
		this.economyId = economyId;
	}

	@Column(name = "UNIT_ID", precision = 11, scale = 0)
	public Long getUnitId() {
		return this.unitId;
	}

	public void setUnitId(Long unitId) {
		this.unitId = unitId;
	}

	@Column(name = "UNIT_NAME", length = 225)
	public String getUnitName() {
		return this.unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	@Column(name = "HIDDEN_TAB_ID", precision = 11, scale = 0)
	public Long getHiddenTabId() {
		return this.hiddenTabId;
	}

	public void setHiddenTabId(Long hiddenTabId) {
		this.hiddenTabId = hiddenTabId;
	}

	@Column(name = "HIDDEN_TAB_NAME", length = 225)
	public String getHiddenTabName() {
		return this.hiddenTabName;
	}

	public void setHiddenTabName(String hiddenTabName) {
		this.hiddenTabName = hiddenTabName;
	}

	@Column(name = "IS_DELE", length = 1)
	public String getIsDele() {
		return this.isDele;
	}

	public void setIsDele(String isDele) {
		this.isDele = isDele;
	}

	@Column(name = "ECONOMY_PARENT_ID", precision = 11, scale = 0)
	public Long getEconomyParentId() {
		return economyParentId;
	}

	public void setEconomyParentId(Long economyParentId) {
		this.economyParentId = economyParentId;
	}

	@Column(name = "TYPE_REMARK", length = 2000)
	public String getTypeRemrk() {
		return typeRemrk;
	}

	public void setTypeRemrk(String typeRemrk) {
		this.typeRemrk = typeRemrk;
	}

	@Column(name = "TYPE_QUDEPT_IDS", length = 1000)
	public String getTypeQudeptIds() {
		return typeQudeptIds;
	}

	public void setTypeQudeptIds(String typeQudeptIds) {
		this.typeQudeptIds = typeQudeptIds;
	}

	@Column(name = "TYPE_QUDEPT_NAMES", length = 1000)
	public String getTypeQudeptNames() {
		return typeQudeptNames;
	}

	public void setTypeQudeptNames(String typeQudeptNames) {
		this.typeQudeptNames = typeQudeptNames;
	}

	@Column(name = "DJPD_TAB_ID", precision = 11, scale = 0)
	public Long getDjpdTabId() {
		return djpdTabId;
	}

	public void setDjpdTabId(Long djpdTabId) {
		this.djpdTabId = djpdTabId;
	}

	@Column(name = "DJPD_TAB_NAME", length = 225)
	public String getDjpdTabName() {
		return djpdTabName;
	}

	public void setDjpdTabName(String djpdTabName) {
		this.djpdTabName = djpdTabName;
	}
	
	

}